package yl.hs.bmipfull.pojo.material;

import lombok.Data;
import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;

/**
 * @author 张凯
 * @apiNote 原材耗材价格实体类
 * @since 2022年03月07日 16时18分11秒
 */
@DBTable(disName = "耗材价格设置", mapCode = "raw_material_price")
@Data
public class RawMaterialPriceEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Integer id;
    /**
     * 原材编号
     */
    @DBField(disName = "原材编号",mapCode = "rmSn")
    private String rmSn;

    /**
     * 原材名称
     */
    @DBField(disName = "原材名称",mapCode = "rmName")
    private String rmName;

    /**
     * 原材规格
     */
    @DBField(disName = "原材规格",mapCode = "rmSpec")
    private String rmSpec;

    /**
     * 价格年份
     */
    @DBField(disName = "价格年份",mapCode = "priceYear")
    private Integer priceYear;
    /**
     * 价格月份
     */
    @DBField(disName = "价格月份",mapCode = "priceMonth")
    private Integer priceMonth;
    /**
     * 价格
     */
    @DBField(disName = "价格",mapCode = "price")
    private BigDecimal price;




}